//权限控制js 只针对按钮的显示隐藏
function power() {
    var HtnlId=$('body').attr('data-id')
    var roleMenuList=JSON.parse(window.localStorage.getItem('roleMenuList'))
    for(var i=0; i<roleMenuList.length; i++){
        if(roleMenuList[i].menu_id==HtnlId){
            var lsitdata=roleMenuList[i].button_id.split(",");
            for(var t in lsitdata) {
                $('.' + lsitdata[t] + '').removeClass('powerButton')
            }
        }
    }
}
power()
